Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat: improve inspect function #7

Merged
merged 1 commit into from
May 7, 2024
Merged

Conversation

ihorkatkov
Copy link
Owner

@ihorkatkov ihorkatkov commented May 7, 2024

What?

  • Improves inspect/2 function.
  • Removes GenServer.whereis/1

Why?

The previous implementation of inspect func didn't consider that points could increase overtime. New implementation returns exact amount of left points by utilizing 0 as cost for acquire function

@ihorkatkov ihorkatkov merged commit 44d8f44 into master May 7, 2024
1 check passed
@ihorkatkov ihorkatkov deleted the feat/imrove-inspect branch May 7, 2024 14:54
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant